package com.funtl.framework.web.service.purview;

import java.util.List;

import com.funtl.framework.java.common.service.ICommonService;
import com.funtl.framework.java.exception.ServiceException;
import com.funtl.framework.web.entity.PurviewGroup;

/**
 * 权限管理
 * @author WMLI
 * Create on 2013-5-15
 */
public interface IPurviewGroupService extends ICommonService<PurviewGroup> {
	/**
	 * 批量插入
	 * @param managerId 管理组ID
	 * @param groups
	 * @throws ServiceException
	 */
	public void insertAll(String managerId, List<PurviewGroup> groups) throws ServiceException;
	
	/**
	 * 获取管理组权限菜单
	 * @param managerId
	 * @return
	 * @throws ServiceException
	 */
	public List<String> queryMenus(String managerId) throws ServiceException;
}
